/*
	File:		PickUp.h
	Author:		Ben Feldmann
	Purpose:	Base class for game pickups
*/

#pragma once

#include "Entity.h"

enum ItemType {METAL, CIRCUITRY};


class PickUp : public Entity 
{
private:
	int itemType;
	int value;

	float textTimer;
	bool collided;

	float textY;

	int sound;
	bool playedSound;

public:
	PickUp();
	~PickUp();

	bool CheckCollision(IEntity* base);
	virtual void Update(float elapsed);
	virtual void Render();

	void SetItemType(int t)		{itemType = t;}
	void SetValue(int v)		{value = v;}
};
